Package-level declarations

Types

Link copied to clipboard
@Serializable
data class ChatBoost(val boostId: String, val addDate: Instant, val expirationDate: Instant, val source: ChatBoostSource)

This object contains information about a chat boost.

Link copied to clipboard
@Serializable
data class ChatBoostAdded(val boostCount: Int)

This object represents a service message about a user boosting a chat.

Link copied to clipboard
@Serializable
data class ChatBoostRemoved(val chat: Chat, val boostId: String, val removeDate: Instant, val source: ChatBoostSource)

This object represents a boost removed from a chat.

Link copied to clipboard
@Serializable
sealed class ChatBoostSource
Link copied to clipboard
@Serializable
data class ChatBoostUpdated(val chat: Chat, val boost: ChatBoost)

This object represents a boost added to a chat or changed.

Link copied to clipboard
@Serializable
data class UserChatBoosts(val boosts: List<ChatBoost>)

This object represents a list of boosts added to a chat by a user.